import javax.swing.*;
import java.awt.*;

/**
 * User: James Barker
 * Date: 1/08/11
 */
public class ElevatorUI extends JPanel {

    JButton jb1 = new JButton("1");
    JButton jb2 = new JButton("2");
    JButton jb3 = new JButton("3");

    public ElevatorUI(int min, int max) {
        this.setBackground(Color.BLUE);
        this.add(jb1);
        this.add(jb2);
        this.add(jb3);
    }
}


//button.addActionListener(new MyAction());
  /*public class MyAction implements ActionListener{
  public void actionPerformed(ActionEvent e){
  String text = (String)e.getActionCommand();
  if (text.equals("Click Me")){
  button.setText("Roseindia.net");
  }
  else{
  button.setText("Click Me");
  }
  }
  } */